package cn.yunhe.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2018/5/22.
 */
public class Coll implements Serializable {
    private int coll_id;          //收藏序号ID
    private Student student;        //学生的ID
    private Problem problem;         //考题ID
    private String coll_remark;     //收藏备注
    private Date f_date;        //收藏时间

    public Coll() {
        super();
    }

    public Coll(int coll_id, Student student, Problem problem, String coll_remark, Date f_date) {
        this.coll_id = coll_id;
        this.student = student;
        this.problem = problem;
        this.coll_remark = coll_remark;
        this.f_date = f_date;
    }

    public int getColl_id() {
        return coll_id;
    }

    public void setColl_id(int coll_id) {
        this.coll_id = coll_id;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Problem getProblem() {
        return problem;
    }

    public void setProblem(Problem problem) {
        this.problem = problem;
    }

    public String getColl_remark() {
        return coll_remark;
    }

    public void setColl_remark(String coll_remark) {
        this.coll_remark = coll_remark;
    }

    public Date getF_date() {
        return f_date;
    }

    public void setF_date(Date f_date) {
        this.f_date = f_date;
    }

    @Override
    public String toString() {
        return "Coll{" +
                "coll_id=" + coll_id +
                ", student=" + student +
                ", problem=" + problem +
                ", coll_remark='" + coll_remark + '\'' +
                ", f_date=" + f_date +
                '}';
    }
}
